﻿using System;
using System.Collections.Generic;
using System.Text;

namespace AnguaRPGEngine.Library.Systems
{
    public class Randomizer
    {
        private Random _rnd = new Random();
        public static Randomizer Instance = new Randomizer();
        public int NextInt()
        {
            return _rnd.Next();
        }
        public int NextInt(int maxPlusOne)
        {
            return _rnd.Next(maxPlusOne);
        }
        public int NextInt(int min, int max)
        {
            return _rnd.Next(min, max + 1);
        }
        public double NextDouble()
        {
            return _rnd.NextDouble();
        }
    }
}
